package org.zkdn.modules.wlpt.basicinfo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: t_crossing
 * @Author: jeecg-boot
 * @Date:   2025-06-18
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cross对象", description="cross")
public class CrossVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
    @ApiModelProperty(value = "id")
    private String id;
	/**路口编号*/
	@Excel(name = "路口编号", width = 15)
    @ApiModelProperty(value = "路口编号")
    private String code;
	/**路口名称*/
	@Excel(name = "路口名称", width = 15)
    @ApiModelProperty(value = "路口名称")
    private String name;
    /**道路id*/
    @ApiModelProperty(value = "道路id")
    private String roadId;
    /**道路id集合*/
    @ApiModelProperty(value = "道路id集合")
    private List<String> roadIds;
    /**道路名称*/
    @Excel(name = "道路名称", width = 15)
    @ApiModelProperty(value = "道路名称")
    private String roadName;
    /**路口标签*/
    @Excel(name = "路口标签", width = 15)
    @ApiModelProperty(value = "路口标签")
    @Dict(dicCode = "road_tag")
    private String crossTag;
	/**wgs84路口经度*/
	@Excel(name = "wgs84路口经度", width = 15)
    @ApiModelProperty(value = "wgs84路口经度")
    private Double lng;
	/**wgs84路口纬度*/
	@Excel(name = "wgs84路口纬度", width = 15)
    @ApiModelProperty(value = "wgs84路口纬度")
    private Double lat;
	/**路口等级*/
	@Excel(name = "路口等级", width = 15)
    @ApiModelProperty(value = "路口等级")
    @Dict(dicCode = "cross_level")
    private Integer level;
    /**路口形态*/
    @Excel(name = "路口形态", width = 15)
    @ApiModelProperty(value = "路口形态")
    @Dict(dicCode = "cross_form")
    private Integer crossForm;
	/**是否建设（0表示否，1表示是）*/
	@Excel(name = "是否建设（0表示否，1表示是）", width = 15)
    @ApiModelProperty(value = "是否建设（0表示否，1表示是）")
    @Dict(dicCode = "build_flag")
    private Integer ifBuild;
	/**删除状态（0表示否，1表示是）*/
	@Excel(name = "删除状态（0表示否，1表示是）", width = 15)
    @ApiModelProperty(value = "删除状态（0表示否，1表示是）")
    @Dict(dicCode = "del_flag")
    @TableLogic
    private Integer delFlag;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**示范区id*/
    @Excel(name = "示范区id", width = 15)
    @ApiModelProperty(value = "示范区id")
    @Dict(dicCode = "demonstration_zone")
    private Integer zoneId;
    /**示范区名称*/
    @Excel(name = "示范区名称", width = 15)
    @ApiModelProperty(value = "示范区名称")
    private String zoneName;
    /**行政区id*/
    @Excel(name = "行政区id", width = 15)
    @ApiModelProperty(value = "行政区id")
    @Dict(dicCode = "areaName")
    private String adminAreaId;
    /**行政区名称*/
    @Excel(name = "行政区名称", width = 15)
    @ApiModelProperty(value = "行政区名称")
    private String adminAreaName;
    /**关联杆件数*/
    @Excel(name = "关联杆件数", width = 15)
    @ApiModelProperty(value = "关联杆件数")
    private Integer poleNum;
    /**设备数量*/
    @Excel(name = "设备数量", width = 15)
    @ApiModelProperty(value = "设备数量")
    private Integer deviceNum;
}
